<!-- 
author : zhangrui 
email  : admin@zhangrui.me
-->
<include file="Common:head" title="控制板" />

  <!-- sidebar start -->
<include file="Common:left" title="控制板" />
  <!-- sidebar end -->
  <!-- content start -->
  <div class="am-cf am-padding">
    <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">视频</strong> / <small>视频列表</small></div>
  </div>

      <div class="am-g">
        <div class="am-u-sm-12">
          <table class="am-table am-table-bd am-table-striped admin-content-table">
            <thead>
            <tr>
              <th>序号</th><th>视频名称</th><th>视频海报</th><th>简介</th><th>管理</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="list" item="vo"> 
            <tr>
              <td>{$vo.id}</td>
              <td><a href="{:U('MasterVideo/xq',array('id'=>$vo['id']))}"  >{$vo.video_name}</a></td>
              <td><a href="{:U('MasterVideo/xq',array('id'=>$vo['id']))} "><img src="__PUBLIC__/Upload/{$vo.img}" title="点击查看详情" height="40" width="40" /></a></td>
              <td><span class="am-badge">{$vo.video_intro}</span></td>
              <td>
                <div class="am-dropdown" data-am-dropdown>
                  <button class="am-btn am-btn-default am-btn-xs am-dropdown-toggle" data-am-dropdown-toggle><span class="am-icon-cog"></span> <span class="am-icon-caret-down"></span></button>
                  <ul class="am-dropdown-content">
                    <li><a href="{:U('MasterVideo/edit',array('id'=>$vo['id']))}">1. 修改</a></li>
                    <li><a href="{:U('MasterVideo/del',array('id'=>$vo['id']))}">2. 删除</a></li>
                  </ul>
                </div>
              </td>
            </tr>
            </foreach>
            </tbody>
          </table>
        </div>
      </div>
  <!-- content end -->
<include file="Common:foot" title="控制板" />